#ifndef _TBSETTINGS_H_
#define _TBSETTINGS_H_

#include "TBVersionInfo.h"

// ================================
// Version
// ================================

#define TB_VERSION_MAJOR          3
#define TB_VERSION_MINOR          1
#define TB_VERSION_BUGS           0

// ================================
// Inlining
// ================================

#if (TB_PLATFORM == TB_PLATFORM_WINDOWS)
#	define TB_INLINE               __forceinline
#else
#	define TB_INLINE               inline
#endif

// ================================
// Timer
// ================================

#define TB_TIMER_PRECISION_HIGH	   0
#define TB_TIMER_PRECISION_NORMAL  1
#define TB_TIMER_PRECISION_LOW     2

#ifndef TB_TIMER_PRECISION
#	define TB_TIMER_PRECISION      TB_TIMER_PRECISION_NORMAL
#endif

// ================================
// DLL interface
// ================================

#ifdef TB_DLL
#	if defined(TB_DLL_IMPORT)
#		define TB_DLL_FUNC             __declspec(dllimport)
#	else if defined(TB_DLL_EXPORT)
#		define TB_DLL_FUNC             __declspec(dllexport)
#	else
#		define TB_DLL_FUNC
#	endif
#else
#	define TB_DLL_FUNC
#endif

#endif